[POWERPC][XEN] Fix infinite loop caused by hdec storm
authorJimi Xenidis <jimix@watson.ibm.com>
Fri, 15 Sep 2006 02:06:15 +0000 (22:06 -0400)
committerJimi Xenidis <jimix@watson.ibm.com>
Fri, 15 Sep 2006 02:06:15 +0000 (22:06 -0400)
This was the cause of the periodic hang on secondary processors that has
been holding back the submission of the SMP patch.

Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
xen/arch/powerpc/time.c

index 1811985199e0e15e5dbddeffcb12f7d34eb67edc..184e07e54d90e6e2bbde6cb45179edc673b4a1f4 100644 (file)
@@ -60,7 +60,7 @@ int reprogram_timer(s_time_t timeout)
     s_time_t expire;
 
     if (timeout == 0) {
-        expire = 0;
+        expire = INT_MAX;
     } else {
         s_time_t now;